<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  		<title><fmt:message key="systemUserList.heading"/></title>
  </head>
  <body>	
  
  <ul>
          <li class="titleonly">
          <img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;系统管理员用户管理
</li>
        </ul>
        <ul>
        <form name="tableForm" action="systemUsers.do" method="Post">
        <table width="700" border="0" cellspacing="0" cellpadding="0" class="dd">
  <tr>
    <td colspan="5" ><a href="editSystemUser.do" ><img src="${ctxPath}/css/style/base/image/plus.gif" />&nbsp;&nbsp;添加系统管理员</a></td>
  </tr>
  <tr>
    <td colspan="5" style="font-size:12px; color:#F03; font-weight:bold">功能介绍:管理员查找</td>
    </tr>
  <tr>
    <td>用户姓名：</td>
    <td><input name="Q_fullname_S_LK" value="${param['Q_fullname_S_LK']}" type="text" class="inputbox120" /></td>
    <td></td>
    <td>状态：</td>
    <td><select name="select1" class="inputbox130">
						  <option value="">全部</option>
						  <option value="2">有效</option>
						  <option value="3">无效</option>
						 </select></td>
  </tr>
  <tr>
    <td colspan="5" style="text-align:center"><input name="Submit" type="submit" class="inputsubmit" value="查询" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
         <input name="Submit2" type="button" onclick="this.form.reset();" class="inputsubmit" value="重置" /></td>
  </tr>
</table>
</form>
 </ul>
    
	<ul><li class="titleonly"><img src="${ctxPath}/css/style/base/image/dot.gif" width="15" height="16" class="dot" />&gt;&gt;管理员列表</li></ul>
	<ul>
	  <li>
        <c:set var="checkAll">
	  			<input type="checkbox" name="ckAll" onclick="checkAll(this,'systemUserId');"/>
	  		</c:set>
        <display:table name="systemUsers" sort="external" pagesize="${systemUsers.objectsPerPage}"
			    	cellpadding="0" cellspacing="0" style="width:100%" export="false" 
			    	id="systemUserItem" partialList="true" size="${systemUsers.fullListSize}" requestURI="systemUsers.do">
			    	<display:column title="${checkAll}" media="html" class="tableinfo center">
				  		<input type="checkbox" name="systemUserId" value="${systemUserItem.systemUserId}">
				  	</display:column>
				<display:column property="username" titleKey="systemUser.userName" sortName="username" sortable="true" class="tableinfo center"/>  
				<display:column property="email" titleKey="systemUser.email" sortName="email" sortable="true" class="tableinfo center"/>  
				<display:column property="phone" titleKey="systemUser.phone" sortName="phone" sortable="true" class="tableinfo center"/>  
				<display:column property="mobile" titleKey="systemUser.mobile" sortName="mobile" sortable="true" class="tableinfo center"/>  
				<display:column property="fullname" titleKey="systemUser.fullname" sortName="fullname" sortable="true" class="tableinfo center"/>  
				<display:column titleKey="性别" class="tableinfo center">
					<c:if test="${systemUserItem.sex==1}">男</c:if>
					<c:if test="${systemUserItem.sex==0}">女</c:if>
				</display:column>
				<display:column property="createTime" titleKey="systemUser.createTime" sortName="createTime" sortable="true" class="tableinfo center"/>  
				<display:column titleKey="systemUser.status" sortName="status" sortable="true" class="tableinfo center">
					<fmt:message key="systemUser.status${systemUserItem.status}"></fmt:message>
				</display:column>  
					<display:column media="html" title="管理" class="tableinfo center">
		            <a href="editSystemUser.do?systemUserId=${systemUserItem.systemUserId}"><img src="${ctxPath}/css/style/base/image/amend.gif" />&nbsp;&nbsp;修改</a>
		            &nbsp;&nbsp;<a href="systemUsers.do?cmd=viewDetail&systemUserId=${systemUserItem.systemUserId}" ><img src="${ctxPath}/css/style/base/image/open.gif" />&nbsp;&nbsp;查看</a>
		            &nbsp;&nbsp;<a href="systemUsers.do?cmd=grantUser&systemUserId=${systemUserItem.systemUserId}" id="showbtn" ><img src="${ctxPath}/css/style/base/image/001_57.gif" />&nbsp;&nbsp;授权</a>
		            &nbsp;&nbsp;<a href="#" id="showbtn" onclick="deleteObj('systemUserId',${systemUserItem.systemUserId})"><img src="${ctxPath}/css/style/base/image/big_del.gif" />&nbsp;&nbsp;删除</a>
					</display:column>
				 </display:table>
	  </li>
	</ul>
	
<!-- 	  			<a href="#" onclick="multiDelete('systemUserId');" class="delete">删除</a> -->
	</body>
</html>